package org.runtimedao.example.dao;

import java.util.List;

import org.runtimedao.annotation.DAOEntity;
import org.runtimedao.annotation.HQL;
import org.runtimedao.dao.DAO;
import org.runtimedao.example.vo.Employee;

@DAOEntity(Employee.class)
public interface EmployeeDAO extends DAO<Employee> {
	
	@HQL("FROM Employee e inner join e.departments")
	List<Object> getBosses();
}
